<include file="public/layout" />
<style>
    .ncm-goods-gift {
        text-align: left;
    }
    .ncm-goods-gift ul {
        display: inline-block;
        font-size: 0;
        vertical-align: middle;
    }
    .ncm-goods-gift li {
        display: inline-block;
        letter-spacing: normal;
        margin-right: 4px;
        vertical-align: top;
        word-spacing: normal;
    }
    .ncm-goods-gift li a {
        background-color: #fff;
        display: table-cell;
        height: 30px;
        line-height: 0;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 30px;
    }
    .ncm-goods-gift li a img {
        max-height: 30px;
        max-width: 30px;
    }

    a.green{

        background: #fff none repeat scroll 0 0;
        border: 1px solid #f5f5f5;
        border-radius: 4px;
        color: #999;
        cursor: pointer !important;
        display: inline-block;
        font-size: 12px;
        font-weight: normal;
        height: 20px;
        letter-spacing: normal;
        line-height: 20px;
        margin: 0 5px 0 0;
        padding: 1px 6px;
        vertical-align: top;
    }

    a.green:hover { color: #FFF; background-color: #1BBC9D; border-color: #16A086; }

    .ncap-order-style .ncap-order-details{
        margin:20px auto;
    }
    .contact-info h3,.contact-info .form_class{
        display: inline-block;
        vertical-align: middle;
    }
    .form_class i.fa{
        vertical-align: text-bottom;
    }
</style>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title"><a class="back" href="javascript:history.go(-1)" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
            <div class="subject">
                <h3>工程师管理</h3>
                <h5>工程师信息及管理</h5>
            </div>
            <!--<div class="subject" style="width:62%">-->
                <!--<if condition="$order['order_status'] lt 2">-->
                    <!--<a href="{:U('Admin/order/edit_order',array('order_id'=>$order['order_id']))}" style="float:right;margin-right:10px" class="ncap-btn-big ncap-btn-green" ><i class="fa fa-pencil-square-o"></i>修改订单</a>-->
                <!--</if>-->
                <!--<if condition="($split eq 1) and ($order['order_status'] lt 2)">-->
                    <!--<a href="{:U('Admin/order/split_order',array('order_id'=>$order['order_id']))}" style="float:right;margin-right:10px" class="ncap-btn-big ncap-btn-green" ><i class="fa fa-external-link-square"></i>拆分订单</a>-->
                <!--</if>-->
                <!--<a href="{:U('Order/order_print',array('order_id'=>$order['order_id']))}" target="_blank" data-toggle="tooltip" title="" class="btn btn-primary" data-original-title="打印订单">-->
                    <!--<a href="{:U('Order/order_print',array('order_id'=>$order['order_id']))}" style="float:right;margin-right:10px" class="ncap-btn-big ncap-btn-green" ><i class="fa fa-print"></i>打印订单</a>-->
                <!--</a>-->
            <!--</div>-->
        <!--</div>-->

    </div>
    <div class="ncap-order-style">
        <div class="titile">
            <h3></h3>
        </div>

        <div class="ncap-order-details">
            <form id="order-action">
                <div class="tabs-panels">
                    <div class="misc-info">
                        <h3>基本信息</h3>
                        <dl>
                            <dt>工程师 ID：</dt>
                            <dd>{$user.user_id}</dd>
                            <dt>会员昵称：</dt>
                            <dd>{$user.nickname}</dd>
                            <dt>工程师状态：</dt>
                            <dd><if condition="$user.engineer_status eq 1">正常<else/>禁用</if></dd>
                        </dl>
                        <dl>
                            <dt>电话：</dt>
                            <dd>{$user.mobile}</dd>
                            <dt>E-Mail：</dt>
                            <dd>{$user.email}</dd>
                            <dt>地址：</dt>
                            <dd>{$user.prrvince} {$user.city} {$user.district}</dd>
                        </dl>
                    </div>
                    <div class="addr-note">
                        <h4>扩展信息</h4>
                        <dl>
                            <dt>是否有维修店：</dt>
                            <dd><if condition="$extend_info.has_store eq 1">有<else/>无</if></dd>
                            <dt>门店地址：</dt>
                            <dd>{$extend_info.store_address}</dd>
                            <dt>店面位置情况：</dt>
                            <dd><if condition="$extend_info.store_position eq 1">临街<elseif condition="$extend_info.store_position eq 2"/>写字楼<elseif condition="$extend_info.store_position eq 3"/>其他</if></dd>
                        </dl>
                        <dl>
                            <dt>每日维修量：</dt>
                            <dd>{$extend_info.day_repair}</dd>
                            <dt>能否上门维修：</dt>
                            <dd><if condition="$extend_info.door_repair eq 1">能<else/>不能</if></dd>
                            <dt>从何得知极客修：</dt>
                            <dd>{$where_know[$extend_info[where_know]]}</dd>
                        </dl>
                        <dl>
                            <dt>门店介绍：</dt>
                            <dd>{$extend_info.store_desc}</dd>
                        </dl>
                        <dl>
                            <dt>工程师规模：</dt>
                            <dd>{$extend_info.engineer_size}</dd>
                        </dl>
                        <dl>
                            <dt>选择合作原因：</dt>
                            <dd>{$extend_info.join_reason}</dd>
                        </dl>
                        <dl>
                            <dt>维修市场分析：</dt>
                            <dd>{$extend_info.market_analysis}</dd>
                        </dl>
                        </dl>
                    </div>

                    <div class="addr-note">
                        <h4>可维修品牌</h4>
                        <dl>
                            <dt></dt>
                            <dd>
                                <foreach name="extend_info['repair_cat_list']" id="vo">
                                    {$vo.name}&nbsp;&nbsp;
                                </foreach>
                            </dd>
                        </dl>
                    </div>

                    <div class="addr-note">
                        <h4>可维修故障</h4>
                        <dl>
                            <dt></dt>
                            <dd>
                                <foreach name="extend_info['repair_fault_list']" id="vo">
                                    {$vo.name}&nbsp;&nbsp;
                                </foreach>
                            </dd>
                        </dl>
                    </div>


                    <!--<div class="total-amount contact-info">-->
                        <!--<h3>订单总额：￥{$order.goods_price}</h3>-->
                    <!--</div>-->
                    <!--<div class="contact-info">
                        <h3>费用信息 </h3>
                        <div class="form_class">
                            <a class="btn green" href="{:U('Admin/Order/editprice',array('order_id'=>$order['order_id']))}"><i class="fa fa-pencil-square-o"></i>修改费用</a>
                        </div>
                        <dl>
                            <dt>小计：</dt>
                            <dd>{$order.goods_price}</dd>
                            <dt>运费：</dt>
                            <dd>+{$order.shipping_price}</dd>
                            <dt>积分 (-{$order.integral})：</dt>
                            <dd>-{$order.integral_money}</dd>
                        </dl>
                        <dl>
                            <dt>余额抵扣：</dt>
                            <dd>-{$order.user_money}</dd>
                            <dt>优惠券抵扣：</dt>
                            <dd>-{$order.coupon_price}</dd>
                            <dt>价格调整：</dt>
                            <dd>减：{$order.discount}</dd>
                        </dl>
                        <dl>
                            <dt>应付：</dt>
                            <dd><strong class="red_common">{$order.order_amount}</strong></dd>
                        </dl>
                    </div>-->
                    <!--<div class="goods-info">
                        <h4>操作记录</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>操作者</th>
                                <th>操作时间</th>
                                <th>订单状态</th>
                                <th>付款状态</th>
                                <th>发货状态</th>
                                <th>描述</th>
                                <th>备注</th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="action_log" key="aid" id="log">
                                <tr>
                                    <td class="text-center"><if condition="$log.action_user neq 0">管理员：{$admins[$aid]}<else/>用户：{$user[nickname]}</if></td>
                                    <td class="text-center">{$log.log_time|date='Y-m-d H:i:s',###}</td>
                                    <td class="text-center">{$order_status[$log[order_status]]}</td>
                                    <td class="text-center">{$pay_status[$log[pay_status]]}<if condition="$order['pay_code'] eq 'code'"><span style="color: red">(货到付款)</span></if></td>
                                    <td class="text-center">{$shipping_status[$log[shipping_status]]}</td>
                                    <td class="text-center">{$log.status_desc}</td>
                                    <td class="text-center">{$log.action_note}</td>
                                </tr>
                            </volist>
                        </table>
                    </div>-->
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">


    function delfun() {
        // 删除按钮
        layer.confirm('确认删除？', {
            btn: ['确定'] //按钮
        }, function () {
            console.log("确定");
        }, function () {
            console.log("取消");
        });
    }


</script>
</body>
</html>